import functools
int22 = functools.partial(int, base = 2)
print(int22("1010111010101"))
def int2(x, base = 8):
    return int(x, base)
aa = int2("12345")
print(aa)